<div ng-controller="CashreqCtrl" ng-init="addAction()" class="sui-form form-horizontal">
    <form name="cashreqForm" novalidate ng-submit="orderAdd()">
        <ul class="sui-breadcrumb">
            <li><a href="#/cashreq/list">{{'cashreq'| translate}}</a></li>
            <li class="active">{{cashreq.cash_req_id?'edit':'add_new' | translate}}</li>
        </ul>
       
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'amount_req'| translate}}：</label>
            <div class="controls">
                <input ng-model="cashreq.amount_req" name="amount_req" type="text" value="" class="input-xlarge" required>
                <div ng-show="cashreqForm.amount_req.$error.required" class="sui-msg msg-error msg-clear help-block error">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'alipay'| translate}}：</label>
            <div class="controls">
                <input ng-model="cashreq.alipay_no" name="alipay_no" type="text" value="" class="input-xlarge" required>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'payee'| translate}}：</label>
            <div class="controls">
                <input ng-model="cashreq.payee" type="text" name="payee" value="" class="input-xlarge" required>
                <div ng-show="cashreqForm.payee.$error.required" class="sui-msg msg-error msg-clear help-block error">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
        <div class="control-group" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'pay_time'| translate}}：</label>
            <div class="controls">
                <input ng-model="cashreq.pay_time"  value=""  datetimepicker name="pay_time" class="input-xlarge" required>
                <div ng-show="cashreqForm.pay_time.$error.required" class="sui-msg msg-error msg-clear help-block error ">
                    <div class="msg-con">{{'required'| translate}}</div>
                    <s class="msg-icon"></s>
                </div>
            </div>
        </div>
       
        <div class="control-group">
            <label class="control-label v-top">  {{'payment_tid'| translate}}：</label>
            <div class="controls">
               <input ng-model="cashreq.outer_no" value=""   name="outer_no" class="input-xlarge" required>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top">  {{'status'| translate}}：</label>
            <div class="controls">
               <input ng-model="cashreq.status" value="" name="status" class="input-xlarge" required>
            </div>
        </div>

        <div class="control-group">
            <label class="control-label"></label>
            <div class="controls">
                <button type="submit" id="submit" class="sui-btn btn-primary" ng-disabled="!(cashreqForm.$valid)">
                    <span>{{'save' | translate}}</span>
                </button>
            </div>
        </div>
    </form>
</div>
